package com.shop.shoporder.service;
import com.shop.shoporder.common.Response;
import com.shop.shoporder.entity.order.OrderAddress;
import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface OrderAddressService {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderAddress record);

    int insertSelective(OrderAddress record);

    OrderAddress selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderAddress record);

    int updateByPrimaryKey(OrderAddress record);

    OrderAddress selectByOrderAddress(OrderAddress record);

    Response adminEditAddress(Map<String, String> map, HttpServletRequest request) throws  Exception;
}
